package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 携带物品记录对象 hr_fk_xdwp
 * 
 * @author ruoyi
 * @date 2022-09-04
 */
public class HrFkXdwp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long autoid;

    /** 记录唯一id */
    @Excel(name = "记录唯一id")
    private String strid;

    /** 携带物资id（与hr_fk_img的xdwpxh关联） */
    @Excel(name = "携带物资id", readConverterExp = "与=hr_fk_img的xdwpxh关联")
    private String imgstr;

    /** 携带物资名称 */
    @Excel(name = "携带物资名称")
    private String wpmc;

    /** 携带物品规格品牌 */
    @Excel(name = "携带物品规格品牌")
    private String wpgg;

    /** 携带物品数量 */
    @Excel(name = "携带物品数量")
    private String wpsl;

    /** 录入日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wpdate;

    public HrFkXdwp(String imgstr) {
        this.imgstr = imgstr;
    }

    public HrFkXdwp() {

    }

    public void setAutoid(Long autoid) 
    {
        this.autoid = autoid;
    }

    public Long getAutoid() 
    {
        return autoid;
    }
    public void setStrid(String strid) 
    {
        this.strid = strid;
    }

    public String getStrid() 
    {
        return strid;
    }
    public void setImgstr(String imgstr) 
    {
        this.imgstr = imgstr;
    }

    public String getImgstr() 
    {
        return imgstr;
    }
    public void setWpmc(String wpmc) 
    {
        this.wpmc = wpmc;
    }

    public String getWpmc() 
    {
        return wpmc;
    }
    public void setWpgg(String wpgg) 
    {
        this.wpgg = wpgg;
    }

    public String getWpgg() 
    {
        return wpgg;
    }
    public void setWpsl(String wpsl) 
    {
        this.wpsl = wpsl;
    }

    public String getWpsl() 
    {
        return wpsl;
    }
    public void setWpdate(Date wpdate) 
    {
        this.wpdate = wpdate;
    }

    public Date getWpdate() 
    {
        return wpdate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("autoid", getAutoid())
            .append("strid", getStrid())
            .append("imgstr", getImgstr())
            .append("wpmc", getWpmc())
            .append("wpgg", getWpgg())
            .append("wpsl", getWpsl())
            .append("wpdate", getWpdate())
            .toString();
    }
}
